package com.ysl.fairy_could_class.domain;

public class Teacher {
    private int id;
    private String teachername;
    private String password;
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getTeachername() {
        return teachername;
    }
    public void setTeachername(String teachername) {
        this.teachername = teachername;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public Teacher(int id, String teachername, String password) {
        this.id = id;
        this.teachername = teachername;
        this.password = password;
    }
    public Teacher() {
    }
    @Override
    public String toString() {
        return "Teacher{" +
                "id=" + id +
                ", teachername='" + teachername + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
